//接口地址
const base ={
    //首页
    totalInfo:'/api/home/dataCount', //首页统计信息
    orderInfo:'/api/home/orderinfo',//订单数据
    format:'/api/home/format',//折线数据
   
    //产品管理
    projectList:'/api/goods/projectList',//产品列表
    search:'/api/goods/search',//搜索接口
    deleteItemById:'/api/goods/deleteItemById',//删除商品
    selectItemCategoryByParentId:"/api/goods/itemCategory/selectItemCategoryByParentId",//商品类目
    insertTbItem:'/api/goods/item/insertTbItem',
    batchDelete:'/api/goods/batchDelete',//批量删除
    updateTbItem:'/api/goods/item/updateTbItem',//商品修改

    //分类管理
    itemCategory:'/api/itemCategory',//商品分类
    //增加一级导航  name
    insertCategory:'/api/itemCategory/insertCategory',
    //增加子导航 cid  name
    insertItemCategory:'/api/itemCategory/insertItemCategory',
    //删除分类 id
    deleteContentCategoryById:'/api/content/deleteContentCategoryById',
    //修改分类 id name
    updateCategory:'/api/itemCategory/updateCategory',

    //订单管理
    //订单列表
    orderList: '/api/order/list',//订单列表 page
    //订单汇总
    changeStatus:'/api/order/changeStatus',//订单汇总
    //汇总清单
    collect:'/api/order/collect',//汇总清单
    //撤销汇总
    cancel:'/api/order/cancel',//撤销汇总 id
    //订单详情
    detail:'/api/order/list/detail',//id


    //登录
    login:'/api/login',//登录接口 user pwd -post
    permission:'/api/permission',//用户权限 token -get
}

//单一导出

//导出图片上传url地址
export const uploadUrl='/api/upload';

export const host='http://localhost:7788';

export default base
